<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
	'htmlOptions'=>array(
		'class' => 'form',
	),
)); ?>
<fieldset class="grey inline">
  <legend><?php echo CHtml::link('快速搜索','#',array('class'=>'search-button collapse')); ?></legend>

<?php //echo $form->label($bases,'BASE_ID'); ?>
<label>电池组所属站点</label>
<label>
<?php  
 //echo $form->dropDownList($bases, 'BASE_ID', CHtml::listData($bases,'BASE_ID','BASE_NAME'));

$optionss = array();
 
if(!empty($bases)){
	$optionss = CHtml::listData($bases,'BASE_ID', 'BASE_NAME');
}
//$optionss[0] = "请选择制造商";
echo CHtml::dropDownList('BASE_N','', $optionss, array(
		'id'=>'BASE_ID', 	));

?>
</label>


<?php echo CHtml::submitButton('查询',array('class'=>'button blue small')); ?>
</fieldset>
<?php $this->endWidget(); ?>
